using System.Collections;
using System.Collections.Generic;

namespace Pogo.Data
{
   public class DirectoryListing : PogoObject, IEnumerable<DirectoryEntry>
   {
      public List<DirectoryEntry> Files { get; set; }
      public int PageOffset { get; set; }
      public int Count { get; set; }
      public int TotalCount { get; set; }

      #region IEnumerable<File> Members

      public IEnumerator<DirectoryEntry> GetEnumerator()
      {
         return Files.GetEnumerator();
      }

      IEnumerator IEnumerable.GetEnumerator()
      {
         return Files.GetEnumerator();
      }

      #endregion
   }
}